package cc.lj.internal.api.coupons.dto.command;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * 发券包 command
 * @author liangxifeng
 * @date 2023/8/24 14:20
 */
@Data
@Accessors(chain = true)
@Validated
public class SendPackageAPICommand {
    @Min(value=1,message = "主键必须>=1的数字")
    private Integer packageId;

    @NotBlank(message = "用户微信unionId不可为空")
    private String unionid;
}
